home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Top 100 Games
/
Top 100 Games.iso
/
pcgammon
/
PCGAMMON.BAT
next >
Wrap
DOS Batch File
|
1997-10-31
|
747b
|
40 lines
@echo off
cls
if x%1 == xinstall goto install
if x%1 == xreins goto reins
if not exist c:\ts\pcgammon\pcgammon.exe goto temp
:install
if exist c:\ts\pcgammon\pcgammon.exe goto insready
:reins
if exist c:\ts\ts goto install2
md c:\ts > NUL:
echo ts > c:\ts\ts
:install2
md c:\ts\pcgammon > NUL:
\pkunzip -o pcgammon.zip c:\ts\pcgammon > NUL:
:insready
c:
cd \ts\pcgammon
pcgammon.exe
goto einde
:temp
md c:\ts_tmp > NUL:
if not exist c:\ts_y copy \y c:\ts_y > NUL:
\pkunzip -o pcgammon.zip c:\ts_tmp > NUL:
c:
cd \ts_tmp
pcgammon.exe
c:
cd \
del c:\ts_tmp\*.* < c:\ts_y > NUL:
rd c:\ts_tmp
del c:\ts_y > NUL:
goto einde
:einde
@echo off
cls